Skip to content

Conversation

alamirault
Copy link
Contributor

@alamirault alamirault commented May 1, 2025

Try fix #20823

$routes is a RouteCollection instance, so it cannot be a container parameter.

I replaced it by a reference and set. I don't know if it's the best way, or if the section is really needed

@carsonbot carsonbot added this to the 7.3 milestone May 1, 2025
@alamirault alamirault changed the base branch from 7.3 to 6.4 May 1, 2025 11:51
@javiereguiluz
Copy link
Member

Thanks!

@javiereguiluz javiereguiluz merged commit bc4cdb6 into symfony:6.4 May 5, 2025
3 checks passed
@alamirault alamirault deleted the hotfix/20823-2 branch May 5, 2025 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect Usage of setParameter for RouterCollection in "Create Framework" Tutorial
4 participants